package cn.jiangjiesheng.bootstrap.commons.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * Created by dev@jiangjiesheng.cn on 2021/5/25  <br/>
 */
@Configuration
@Data
@RefreshScope
@ConfigurationProperties(prefix = "paas.iot")
public class IotProperties implements IProperties {

    @Value(value = "${micro-service.server.web:'iot-web'}")
    private String iotServerWeb;

    @Value(value = "${micro-service.server.data-memory:'micro-service-data-memory'}")
    private String iotServerMemory;

}
